package com.binfenhulian.chinaenergy.ces.manage.bean.param;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * Created by wanghjbuf on 2018/3/19.
 */
@Data
public class SiteParam {

    /**
     * id
     */
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空")
    private String name;

    /**
     * url
     */
    @NotBlank(message = "url不能为空")
    private String url;

    /**
     * 描述
     */
    @NotBlank(message = "描述不能为空")
    private String remark;
}
